<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="<?=$views_home;?>css/base.css"/>
		<script type="text/JavaScript" src="<?=$web_site;?>public/ckeditor/ckeditor.js"></script>
	
		<style>
			.post{
				width:970px;
			
				margin:0 auto;
				background:#fff;

			}
			.post_head{
				width:938px;
				height:40px;
				padding-left:30px;
				line-height: 40px;
				border-bottom:1px #ccc solid;

			}
			.post_title{
				width:968px;
				height:40px;
				margin-left:100px;


			}
			.post_title_put{
				width:200px;
				height:20px;
				margin-top:10px;
			}
			.post_ckediter{
				width:960px;
				margin: 0 auto;
			}
			.post_bottom{
				width:960px;

				margin:0 auto;
			}


			/**************************************/
			.post_bottom_head{
				width:60px;
				height:30px;
				line-height: 30px;
				background: #cff;
				padding-left: 20px;

			}
			.post_bottom_price{
				width:930px;
				height:40px;
				background: #cff;
				padding-left:20px;

			}
			
			.post_bottom_price_put{
				width:40px;
				height:20px;
				margin-top:10px;

			}
			.post_verify{
				width:250px;
				height:40px;
			
				margin-top: 4px;
			}
			.post_verify_p{
				width:40px;
				line-height: 40px;
				float:left;
			}

			.post_verify_input{
				display: block;
				width:80px;
				height: 20px;
				margin-top: 10px;
				float: left;
			}

			.post_verify_img{
				display:block;
				width:100px;
				height:40px;
				margin-left:20px;
				float: left;
				
			}
		

			.post_button{
				width:60px;
				height:30px;
				margin-top:10px;
				margin-left: 20px;
				font-size: 14px;
				font-weight: bold;
				background:#06f;
				color:#fff;
			}


		</style>
	</head>
	<body>
		<div class="post">
			<div class="post_head"><h5>发表帖子</h5></div>
			<form action="<?=$admin_home;?>post.php?classid=<?=$cid;?>&uid=<?=$res_post[0]['authorid'];?>" method="post" enctype="multipart/form-data">
				<input type="hidden" name="uid" value="<?=$res_post[0]['authorid'];?>">
				<input type="hidden" name="classid" value="<?=$cid;?>">
				<div class="post_title">
					<input class="post_title_put" type="text" name="title" placeholder="请输入标题"> 还可输入 80 个字符
				</div>
				<div class="post_ckediter">
					<textarea id="ckeditor" class="ckeditor" name="content">人生若只如初见</textarea>
				</div>
				<div class="post_bottom">
					<p class="post_bottom_head">售价</p>
					<p class="post_bottom_price">售价&nbsp;&nbsp;<input class="post_bottom_price_put" type="text" placeholder="价格" name="rate" value="00">&nbsp;&nbsp;金钱</p>
				<div class="post_verify clearFix">
					<p class="post_verify_p">验证码</p>
					<input class="post_verify_input" type="text" name="verify"/>
					<img class="post_verify_img" src="<?=$yzm;?>" onclick="this.src='<?=$yzm;?>'"/>
				</div>
				</div>
					
					<input class="post_button" type="submit" value="发表">

			</form>
		</div>
		


	</body>

</html>